﻿using Paas.App.Interface.Sys.Auth.Dtos;
using Basefr.App.Messages;

namespace Paas.App.Interface.Sys.Auth.Messages
{
    public class LoginInput : IInput
    {
        public string UserName { get; set; }
        public string Password { get; set; }
    }
    public class LoginOutput : IOutput
    {
        public string Token { get; set; }
        public UserAuthDto User { get; set; }
    }


    public class ChangePasswordInput : IInput
    {
        public string Old { get; set; }
        public string New { get; set; }
    }
    public class ChangePasswordOutput : IOutput
    {
    }


    public class GetCurrentUserInput : IInput { }
    public class GetCurrentUserOutput : IOutput
    {
        public UserAuthDto User { get; set; }
    }


}

